package com.mryan.server_project;

import com.mryan.ps_common.annotation.EnablePSAuthExceptionHandler;
import com.mryan.ps_common.annotation.EnablePSServerProtect;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.security.config.annotation.method.configuration.EnableGlobalMethodSecurity;

@EnableGlobalMethodSecurity(prePostEnabled = true)
@EnableDiscoveryClient
@SpringBootApplication
@EnablePSAuthExceptionHandler
@EnablePSServerProtect
public class ServerProjectApplication {

	public static void main(String[] args) {
		SpringApplication.run(ServerProjectApplication.class, args);
	}

}
